Feature: Listar, Agregar, Actualizar y Publicar POST
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 0m 18.246s |
Scenario: Como un usuario inicio sesión creo un tag a continuación lo agrego a un post
Before
0m 0.995s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 0.708s
And
I wait for 1 seconds
0m 1.111s
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
0m 0.195s
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
0m 0.150s
And
I wait for 1 seconds
0m 1.105s
Then
I click element with xpath "<BTN_SIGNIN_EID>"
0m 0.185s
And
I wait for 1 seconds
0m 1.138s
Given
I navigate to page "http://localhost:2368/ghost/#/tags/new"
0m 0.189s
And
I set text "TAG TEST" on element with xpath "<TAG_NAME_ID>"
0m 0.138s
And
I click element with xpath "<TAG_BTN_SAVE_ID>"
0m 0.187s
Then
I navigate to page "http://localhost:2368/ghost/#/posts"
0m 0.308s
And
I click element with xpath "<POST_ONLIST_CLASS>"
0m 0.267s
And
I wait for 1 seconds
0m 1.255s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.206s
And
Enter on element with xpath "<CONTENT_ECLASS>"
0m 0.223s
And
I wait for 1 seconds
0m 1.217s
Then
I click element with xpath "<OPEN_SETTINGS_CLASS>"
0m 0.352s
And
I wait for 1 seconds
0m 1.202s
And
I set text "TAG TEST" on element with xpath "<TAG_INPUT_CLASS>"
0m 0.348s
Then
I click element with xpath "<TAG_INPUT_CLASS>"
0m 0.245s
And
Enter on element with xpath "<TAG_INPUT_CLASS>"
0m 0.221s
And
Enter on element with xpath "<TAG_INPUT_CLASS>"
0m 0.220s
Then
I click element with xpath "<OPEN_SETTINGS_CLASS>"
0m 0.281s
And
I set text "TAG TEST UPDATE" on element with xpath "<POST_TITLE_ECLASS>"
0m 0.260s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.314s
And
I wait for 5 seconds
0m 5.221s
After
0m 0.005s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
And
I wait for 1 seconds
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
And
I wait for 1 seconds
Then
I click element with xpath "<BTN_SIGNIN_EID>"
And
I wait for 1 seconds
Given
I navigate to page "http://localhost:2368/ghost/#/tags/new"
And
I set text "TAG TEST" on element with xpath "<TAG_NAME_ID>"
And
I click element with xpath "<TAG_BTN_SAVE_ID>"
Then
I navigate to page "http://localhost:2368/ghost/#/posts"
And
I click element with xpath "<POST_ONLIST_CLASS>"
And
I wait for 1 seconds
Then
I click element with xpath "<CONTENT_ECLASS>"
And
Enter on element with xpath "<CONTENT_ECLASS>"
And
I wait for 1 seconds
Then
I click element with xpath "<OPEN_SETTINGS_CLASS>"
And
I wait for 1 seconds
And
I set text "TAG TEST" on element with xpath "<TAG_INPUT_CLASS>"
Then
I click element with xpath "<TAG_INPUT_CLASS>"
And
Enter on element with xpath "<TAG_INPUT_CLASS>"
And
Enter on element with xpath "<TAG_INPUT_CLASS>"
Then
I click element with xpath "<OPEN_SETTINGS_CLASS>"
And
I set text "TAG TEST UPDATE" on element with xpath "<POST_TITLE_ECLASS>"
Then
I click element with xpath "<CONTENT_ECLASS>"
And
I wait for 5 seconds
After
NO IMAGE AVAILABLE